package Utils;

import java.text.SimpleDateFormat;

/**
 * The type Date.
 *
 * @author dzr
 * @version 1.0
 */
public class Date {

    /**
     * Get current time.
     *
     * @return the time
     */
    public static String getCurTime(){
        java.util.Date time = new java.util.Date();
        // hh:12h HH:24h
        String strDateFormat = "yyyy-MM-dd HH:mm:ss";
        SimpleDateFormat sdf = new SimpleDateFormat(strDateFormat);
        return sdf.format(time);
    }
}
